package com.campusmarket.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by Mankind on 2018/3/22.
 */
@Controller
public class HelloController {

    @RequestMapping(value = "/hello",produces = "text/html;charset=utf-8")
    public String hello(){
        System.out.println("HelloWorld");
        return "page/index";
    }
}
